from public.action import *
from public.business import *
from public.testData import *
from public.tools import *

testCase = "DBshop08"

firefox = openBrowser(urlAdmin)

DBshopLoginAdmin(firefox)

DBshopEnterMenu2(firefox,'销售管理','支付记录')

firefox.find_element_by_link_text('1668187644640002').click()


#断言

try:
    firefox.find_element_by_xpath('//a[contains(text(),"返回订单列表")]')
    writeFile('%s 测试通过'%testCase)
except:
    writeLog('%s 测试不通过'%testCase)

firefox.quit()